package com.scse.bms.mapper;

import com.scse.bms.entity.RoleDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @Title: AuthorityMapper
 * @Author: 吴赠禹
 * @Date: 2020/11/1
 * @Version: 1.0
 * @Description: 用户权限Mapper
 */

@Repository
@Mapper
public interface RoleMapper {

    /**
     * 根据用户ID查询对应的权限信息
     * @param id
     * @return
     */
    RoleDO selectAuthInfoByUserId(Integer id);



}
